package com.sm.vo;

import com.sm.model.Goods;
import com.sm.model.ShopCar;

/**
 *	购物车中的商品的实体类
 * @author 60915
 */
public class ShopCarGoodsVO {
	
	private Goods goods;//商品
	private ShopCar shopCar;//购物车
	
	public ShopCarGoodsVO() {
		super();
	}
	public ShopCarGoodsVO(Goods goods, ShopCar shopCar) {
		super();
		this.goods = goods;
		this.shopCar = shopCar;
	}
	
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public ShopCar getShopCar() {
		return shopCar;
	}
	public void setShopCar(ShopCar shopCar) {
		this.shopCar = shopCar;
	}
	
	@Override
	public String toString() {
		return "ShopCarGoodsVO [goods=" + goods + ", shopCar=" + shopCar + "]";
	}
	
	

}
